<%@ page import="com.example.sms.entity.Student" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/10/30
  Time: 14:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
  <meta charset="UTF-8">
  <title>登录</title>
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/styles.css">
</head>
<body>
<div class="dingbu">
  <p>学生管理系统</p>
</div>
<div class="wbd">
  <div class="nbd">
    <h3 class="logtip">登录</h3>
    <form action="${pageContext.request.contextPath}/common/Login" method="post" name="loginForm">
      <div class="form-group">
        <label for="username">用户名</label>
        <input type="text" name="username" class="form-text" id="username" required>
      </div>
      <div class="form-group">
        <label for="password">密码</label>
        <input type="password" name="password" class="form-text" id="password" required>
      </div>
      <div class="form-group">
        <label for="type">类型</label>
        <select name="type" id="type">
          <option value="0">学生</option>
          <option value="1">教师</option>
          <option value="2">管理员</option>
        </select>
      </div>
      <div class="form-btn">
        <input type="submit" class="btn-a" value="登录">
      </div>
    </form>
  </div>
</div>
</body>
</html>